package com.cictec.middleware.api.dc;

import java.util.List;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.cictec.middleware.core.entity.BusLine;
import com.cictec.middleware.core.entity.BusLineMapPoint;
import com.cictec.middleware.core.entity.BusLineStation;
import com.cictec.middleware.core.entity.StandbyZone;
import com.cictec.middleware.core.entity.pojo.BaseBusLineInfo;

public interface MiddlewareDcLineService {
	
	@RequestMapping(value = "/dc/line/buslineinfo/{lineUuid}")
	public BaseBusLineInfo getListBusLineInfo(@RequestParam("lineUuid") String lineUuid);
	
	@RequestMapping(value = "/dc/line/buslineinfo")
	public List<BaseBusLineInfo> getListBusLineInfos();

	@RequestMapping(value = "/dc/line")
	public List<BusLine> getListBusLine();
	
	@RequestMapping(value = "/dc/line/lineUuid")
	public BusLine getBusLine(@RequestParam("lineUuid") String lineUuid);

	@RequestMapping(value = "/dc/line/lineIds")
	public BusLine getBusLineByLineIds(@RequestParam("lineUuid") String lineUuid);
	
	@RequestMapping(value = "/dc/line/busLineMapPoint")
	public Map<String, List<BusLineMapPoint>> getBusLineMapPoint(@RequestParam("lineUuid") String lineUuid);

	@RequestMapping(value = "/dc/line/busLineStation")
	public Map<String, List<BusLineStation>> getBusLineStation(@RequestParam("lineUuid") String lineUuid);
	@RequestMapping(value = "/dc/line/busLineStandby")
	public List<StandbyZone> getBusLineStandby(@RequestParam("lineUuid") String lineUuid);
	
}
